﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>QQ注册验证</title>
    </head>
    <body  background="body.png" style="background-repeat:repeat-x;">
       <table border="0" cellspacing="0" cellpadding="0" align="center">
           <tr>
              <td><img src="bg_chs.png" / ></td>
           </tr>
       </table> 
         <form action="" method="post">
           <table border="0" cellspacing="0" cellpadding="10" align="center">
               <tr>
                  <td colspan="2"><strong>注册账号</strong></td>
                  <td></td>
               </tr>
               <tr>
                  <td align="right"><label for="sname">昵称</label></td>
                  <td align="left"><input type="text" name="sname" required id="sname" value="kxxw" pattern="[-\w\u4E00-\u9FA5]{4,10}" /><label for="sname">长度为4-10个字符</label></td>
               </tr>
               <tr>
                  <td align="right"><label for="pass">密码</label></td>
                  <td align="left"><input type="password" name="pass" value="123456" required id="pass" pattern="[\dA-Za-z]{6,16}" /><label for="pass">长度为6-16个字符</label></td>
               </tr>
               <tr>
                  <td align="right"><label for="yes">确认密码</label></td>
                  <td align="left"><input type="password" name="pass" value="12" required id="yes" pattern="[\dA-Za-z]{6,16}" /><label for="yes">长度为6-16个字符</label></td>
               </tr>
               <tr>
                  <td align="right"><label for="number">手机号码</label></td>
                  <td align="left"><input type="text" name="number" required id="number" pattern="1[3578]\d{9}" /><label for="number">密码长度为11位，以13|5|7|8开头</label></td>
               </tr>
               <tr>
                  <td align="right"><label for="mail">邮箱</label></td>
                  <td align="left"><input type="text"id="mail" required name="mail" /></td>
               </tr>
               <tr>
                  <td align="right"><label for="age">年龄</label></td>
                  <td align="left"><input type="text" name="age" id="age" required pattern="\d|[1-9]\d|1[0-2]\d" /></td>
               </tr>
               <tr>
                 <td colspan="2" align="center"><input type="image" src="btn.bmp" /></td>
               </tr>
           </table>
       </form>
    </body>
</html>